package ${sourceBasePackage}.mapper<#if sourceIncludeModule == 'Y'>.${moduleName}</#if>;

import ${sourceBasePackage}.dto<#if sourceIncludeModule == 'Y'>.${moduleName}</#if>.${entityName}Dto;
import ${sourceBasePackage}.dto<#if sourceIncludeModule == 'Y'>.${moduleName}</#if>.${entityName}SearchDto;
import ${sourceBasePackage}.entity<#if sourceIncludeModule == 'Y'>.${moduleName}</#if>.${entityName};
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ${description}Mapper
 * @author： ${author}
 */
@Mapper
public interface ${entityName}Mapper {

	List<${entityName}Dto> getList(${entityName}SearchDto ${entityName?uncap_first}SearchDto);

	${entityName}Dto getById(${pkPropertyType} id);

	void add(${entityName} ${entityName?uncap_first});

	void update(${entityName} ${entityName?uncap_first});

	void delete(${pkPropertyType} id);

}
